package com.mall.module.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel(description = "用户会员等级视图对象")
public class UserLevelVO {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "会员等级ID")
    private Integer levelId;

    @ApiModelProperty(value = "等级名称")
    private String levelName;

    @ApiModelProperty(value = "当前成长值")
    private Integer growthPoints;

    @ApiModelProperty(value = "当前等级最低成长值")
    private Integer minGrowth;

    @ApiModelProperty(value = "下一等级所需成长值")
    private Integer nextLevelGrowth;

    @ApiModelProperty(value = "距离下一等级还需成长值")
    private Integer needGrowth;

    @ApiModelProperty(value = "折扣率")
    private BigDecimal discount;

    @ApiModelProperty(value = "特权配置")
    private String privileges;
} 